package com.xdf.xzymanagementsystem.dao;

import com.mybatisflex.core.BaseMapper;
import com.xdf.xzymanagementsystem.entity.HalfDetail;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description : 由代码生成器生成
 * @Author : chanchaw
 * @Date :  2025-3-22 10:27:04
 */
@Repository
public interface HalfDetailMapper extends BaseMapper<HalfDetail> {
    //=================以上是自动生成的代码，自定义代码请写在下面==================
    @Select("select * from half_detail where parent_id = #{id}")
    List<HalfDetail> selectByParentId(Integer id);
}